package com.xlh.dao.cs;

import com.xlh.pojo.cs.WorkPlace;
import com.xlh.pojo.cs.WorkPlaceExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WorkPlaceMapper {
    long countByExample(WorkPlaceExample example);

    int deleteByExample(WorkPlaceExample example);

    int deleteByPrimaryKey(Long id);

    int insert(WorkPlace record);

    int insertSelective(WorkPlace record);

    List<WorkPlace> selectByExample(WorkPlaceExample example);

    WorkPlace selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") WorkPlace record, @Param("example") WorkPlaceExample example);

    int updateByExample(@Param("record") WorkPlace record, @Param("example") WorkPlaceExample example);

    int updateByPrimaryKeySelective(WorkPlace record);

    int updateByPrimaryKey(WorkPlace record);
}